const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  language: state => state.app.language,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  permission_add_routes: state => state.permission.addRoutes,
  errorLogs: state => state.errorLog.logs,
  id: state => state.user.id,
  isShowLog: state => state.user.isShowLog,
  waitOrderNum: state => state.user.waitOrderNum,
  cancelOrderNum: state => state.user.cancelOrderNum,
  returnOrderNum: state => state.user.returnOrderNum,
  pickNum: state => state.user.pickNum,
  exceptGoodsNum: state => state.user.exceptGoodsNum,
  shipmentTipsNum: state => state.user.shipmentTipsNum,
  deliverNum: state => state.user.deliverNum,
  systemTime: state => state.user.systemTime,
  siteId: state => state.user.siteId,
  timeSite: state => state.user.timeSite,
  inventoryTipsNum: state => state.user.inventoryTipsNum,
  faInventoryTipsNum: state => state.user.faInventoryTipsNum,
  spInventoryTipsNum: state => state.user.spInventoryTipsNum,
  siInventoryTipsNum: state => state.user.siInventoryTipsNum,
  awsInventoryTipsNum: state => state.user.awsInventoryTipsNum,
  tiktokInventoryTipsNum: state => state.user.tiktokInventoryTipsNum,
  aliexpressInventoryTipsNum: state => state.user.aliexpressInventoryTipsNum,
  stockTipsNum: state => state.user.stockTipsNum,
  platformNum: state => state.user.platformNum,
  defaultAccountTypeNum: state => state.user.defaultAccountTypeNum,
  accountMKD: state => state.user.accountMKD,
  accountFalabella: state => state.user.accountFalabella,
  accountAmazon: state => state.user.accountAmazon,
  SPAuthUrl: state => state.user.SPAuthUrl,
  accountShopee: state => state.user.accountShopee,
  accountShein: state => state.user.accountShein,
  accountTikTok: state => state.user.accountTikTok,
  accountAliexpress: state => state.user.accountAliexpress,
  userAmountTipsNum: state => state.user.userAmountTipsNum,
  labelOrderNum: state => state.user.labelOrderNum,
  middleWorkNum: state => state.user.middleWorkNum,
  transferWorkNum: state => state.user.transferWorkNum,
  waitForConfirmationRemittanceNum: state => state.user.waitForConfirmationRemittanceNum,
  payPageType: state => state.user.payPageType,
  combinationNum: state => state.user.combinationNum,
  warehouseId: state => state.user.warehouseId,
  inventoryLocationNum: state => state.user.inventoryLocationNum,
  packetGoodsNum: state => state.user.packetGoodsNum,
  packetOrderNum: state => state.user.packetOrderNum,
  roleType: state => state.user.roleType,

  goodsTipsNum: state => state.user.goodsTipsNum,
  //硬件相关
  socket: state => state.printHardware.socket,
  scaleDeviceInfo: state => state.printHardware.scaleDeviceInfo,
  printers: state => state.printHardware.printers,
  currentPrinter: state => state.printHardware.currentPrinter,
  printerInterval: state => state.printHardware.printerInterval,
  currentPrinterStatus: state => state.printHardware.currentPrinterStatus,
  scalesWeight: state => state.printHardware.scalesWeight,
  printerPDFType: state => state.printHardware.printerPDFType,
  printerTestLoading: state => state.printHardware.printerTestLoading,
  appCheckStatusAppStart: state => state.printHardware.appCheckStatusAppStart,
  appCheckStatusPrintersState: state => state.printHardware.appCheckStatusPrintersState,
  appCheckStatusScalesState: state => state.printHardware.appCheckStatusScalesState,
  appCheckStatusAppVersion: state => state.printHardware.appCheckStatusAppVersion,
  appVersion: state => state.printHardware.appVersion,
  scalesStateMapSearch: state => state.printHardware.scalesStateMapSearch,
  scalesStateMapConnected: state => state.printHardware.scalesStateMapConnected,
  scalesStateMapDiscontented: state => state.printHardware.scalesStateMapDiscontented,
  scalesStateMapError: state => state.printHardware.scalesStateMapError,
  scalesStateMapTransform: state => state.printHardware.scalesStateMapTransform,
  appStartDialog: state => state.printHardware.appStartDialog,
  isLinkApp: state => state.printHardware.isLinkApp,

  warehouseName: state => state.user.warehouseName,
  info: state => state.user.info, // 所有info的参数
}
export default getters
